package com.max.xihu.patterns.factory;

/**
 * @Author: Max
 * @Date: 2020-09-03 22:32
 * @Description:
 */
public class Client {

    public static void main(String[] args) {
        AbstractFactory factory = new ConcreteCreator();
        AbstractProduct product = factory.createProduct(ConcreteProduct1.class);
        product.create();
    }
}
